package com.hdy.net.order.bean;

import com.google.gson.annotations.SerializedName;

public class Response {

    private String code;
    @SerializedName("Message")
    private String message;

    public String getCode() {
        return this.code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return this.message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isSuccess() {
        return "200".equals(this.code);
    }

    public String toString() {
        return "Response[code=" + this.code + ",message=" + this.message + "]";
    }
}
